<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="java.util.Set"%>
<%@page import="java.util.PropertyResourceBundle"%>
<%@page contentType="text/javascript" pageEncoding="UTF-8"%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%
    
    PropertyResourceBundle bundle = new PropertyResourceBundle(request.getServletContext().getResourceAsStream("/WEB-INF/classes/StripesResources.properties"));
    out.println("function LANG(){}");
    for (String key : bundle.keySet()) {
        if (key.startsWith("js")) {
            out.println("LANG." + key.replace(".", "_") + " = " + "'" + bundle.getString(key) + "'");
        }
    }

%>